//
//  XYBaseNavigationController.m
//  XY-Video
//
//  Created by WTFKL on 2018/3/15.
//  Copyright © 2018年 WTF. All rights reserved.
//

#import "XYBaseNavigationController.h"

@interface XYBaseNavigationController ()

@end

@implementation XYBaseNavigationController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setNavTheme];
}

-(void)setNavTheme{
    NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:[UIColor whiteColor],NSForegroundColorAttributeName, nil];
    self.navigationBar.titleTextAttributes = dict;
    
    [self.navigationBar setBackgroundImage:[UIImage imageNamed:@"navbar"] forBarMetrics:UIBarMetricsDefault];
}

@end
